package com.foreveross.law.web;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	
	private static final Logger logger = LoggerFactory.getLogger(IndexController.class);
	
	/**
	 * 首页获取网站首页数据hhahah
	 */
	@RequestMapping("/hello")
	public String getIndexpage(HttpServletRequest request, Model model) {
		logger.info("进入首页.......");
		return "index";
	}
	
}
